<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登陆页面</title>

<%@include file="public.jsp"%>

</head>
<body style="background-color: #eeeeee">
	<%@include file="head.jsp"%>
	<%@include file="menu.jsp"%>
	<div class='container'
		style="margin: 130px auto; padding: 20px; border: 1px solid #00BFFF; border-radius: 30px; background-color: #6495ED; text-align: center; width: 350px; font-size: 20px;">
		<form action="<%=path%>/log" class='form-signin' method="post">

			<h4 class='form-signin-heading'>用户登录</h4>

			<input type='text' name="username" id="username" class='form-control'
				placeholder='请输入用户名' required="required">
			<p>&nbsp;</p>
			<div style='height: 10px; clear: both; display: block'></div>
			<input type="hidden" name="role" /> <input type='password'
				name="password" id="password" class='form-control'
				placeholder='请输入密码' required="required">
			<p>&nbsp;</p>
			<button class='btn btn-default' type='submit'>登录</button>
			<c:if test="${message==500}">
				<script>confirm_info("用户名或密码错误！")</script>
			</c:if>
		</form>
	</div>
</body>
</html>